<!DOCTYPE html>
<html>
  <body>
    <script>
      window.onload = (event) => {
          window.opener.postMessage('pass', '*');
      };
    </script>
  </body>
</html>
